package org.dromara.bean.domain.vo;

import org.dromara.bean.domain.HisQuestionnaireAnswer;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 答题记录视图对象 his_questionnaire_answer
 *
 * @author Lion Li
 * @date 2024-12-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HisQuestionnaireAnswer.class)
public class HisQuestionnaireAnswerVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * 会员id
     */
    @ExcelProperty(value = "会员id")
    private Long memberId;

    /**
     * 问卷id
     */
    @ExcelProperty(value = "问卷id")
    private Long questionnaireId;

    /**
     * 答题记录
     */
    @ExcelProperty(value = "答题记录")
    private String answer;


    private HisQuestionnaireVo questionnaireVo;


    private Date createTime;

}
